package com.t01.bdqn.design.proxy.stati;

import com.t01.bdqn.design.factory.student.impl.YangHaoBin;

public class YangHaoBinProxy extends YangHaoBin {

    @Override
    public String getName() {

        System.out.println("我代理了杨浩彬，还可以打日志");
        String name = super.getName();
        return name;
    }

}
